﻿using System;

using SBPweb.Communication.Shared.Library.Contacts;

namespace SBPweb.Communication.Client.Library.Xmpp.Contacts
{

    partial class Contact : ContactBase
    {

        #region Constructor logic

        internal Contact(agsXMPP.protocol.Base.RosterItem item)
            : base(item.Jid.Bare, item.Name)
        {
        }

        internal Contact(agsXMPP.Jid jid)
            : base(jid.Bare, jid.User)
        {
        }

        #endregion

    }

}